package com.hymjweb.demo.hymj.master_bill_manage.pull.detail.controller;

import com.hymjweb.demo.framework.sys.BaseController;
import com.hymjweb.demo.hymj.master_bill_manage.pull.detail.service.BMasterBillPullDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * @BelongsProject: demo
 * @BelongsPackage: com.hymjweb.demo.hymj.master_bill_manage.pull.detail.controller
 * @Author: luoge
 * @CreateTime: 2020-12-30 16:50
 * @Description:
 */

@Controller
@RequestMapping("/pages/master_bill_manage/pull/detail")
public class BMasterBillPullDetailController extends BaseController {

    @Autowired
    private BMasterBillPullDetailService bMasterBillPullDetailService;


    @RequestMapping("/showPullDetailList")
    public String showPullDetailList(){
        return "pages/master_bill_manage/pull/detail/masterBillPullDetailList";
    }

    @RequestMapping("/queryPullDetailJoinList")
    @ResponseBody
    public Object queryPullDetailJoinList(@RequestParam(required = true) Map param){
        return bMasterBillPullDetailService.getPageList(param);
    }

    @RequestMapping("/queryPullDetailList")
    @ResponseBody
    public Object queryPullDetailList(@RequestParam(required = true) Map param) {
        return bMasterBillPullDetailService.queryPullDetailList(param);
    }





}
